<?php
return [
    'appName' => 'iflowAppliction',
    // 存储路由的配置key
    'router' => [
        'key' => 'router',
        // 路由前缀
        'routerPrefix' => [
            'v1' => 'api/v1'
        ]
    ],
    // RPCRouter
    'rpcRouter' => [
        'key' => 'rpcRouter',
        // 路由前缀
        'routerPrefix' => []
    ],
    // 查看 API 文档 地址
    'api_path' => 'e10adc3949ba59abbe56e057f20f883e',
    'hot_update' => true,
    'appMonitoring' => [
        'toEmails' => [
            '2461082216@qq.com'
        ],
        'enable' => false,
        'delayTime' => 24 * 60 * 60,
        'diskFree' => 1,
        'MemFree' => 1,
    ],
    'appSurroundings' => [
    ],
    'favicon' => app() -> getRootPath() . 'public' . DIRECTORY_SEPARATOR . 'favicon.ico',
    'saveRuntimeLog' => true,
    '404_error_page' => app() -> getRootPath() . 'public'. DIRECTORY_SEPARATOR . '404.html',
    'resources' => [
        'file' => [
            'rule' => 'static',
            'rootPath' => app() -> getRootPath() . 'public'
        ]
    ],
    'i18n' => [
        'zh-cn' => app() -> getRootPath() . 'public' . DIRECTORY_SEPARATOR . 'zh-cn.json',
        'en-us' => app() -> getRootPath() . 'public' . DIRECTORY_SEPARATOR . 'en-us.json',
    ],
    // 是否开启debug
    'debug' => true
];